package com.example.benefitcommunity.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.util.Date;
import java.io.Serializable;

/**
 * 车位出租表(BcParkingspaceRent)实体类
 *
 * @author makejava
 * @since 2025-08-20 09:55:17
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("bc_parkingspace_rent")
public class BcParkingspaceRent implements Serializable {
    @Serial
    private static final long serialVersionUID = 834638652912930626L;
    /**
     * 车位出租id
     */
    private Integer id;
    /**
     * 图片
     */
    private String picture;
    /**
     * 车位编号
     */
    private String parkingspacenum;
    /**
     * 电话
     */
    private String phone;
    /**
     * 地址
     */
    private String address;
    /**
     * 租金
     */
    private String rent;
    /**
     * 出租期限
     */
    private String leaseterm;
    /**
     * 社区id
     */
    private Integer communityid;
    /**
     * 用户id
     */
    private Integer userid;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createtime;


}

